Skip to content

Check for loops/closures in local_used_after_expr #8676

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Apr 14, 2022

Conversation

Alexendoo
Copy link
Member

Follow up to #8646, catches when a local is used multiple times because it's in a loop or a closure

changelog: none

@rust-highfive
Copy link

r? @xFrednet

(rust-highfive has picked a reviewer for you, use r? to override)

@rust-highfive rust-highfive added the S-waiting-on-review Status: Awaiting review from the assignee but also interested parties label Apr 10, 2022
@xFrednet
Copy link
Member

👋

Looks good to me, thank you for the update! 🙃

@bors r+

@bors
Copy link
Contributor

bors commented Apr 14, 2022

📌 Commit 5e335a5 has been approved by xFrednet

@bors
Copy link
Contributor

bors commented Apr 14, 2022

⌛ Testing commit 5e335a5 with merge 38ba055...

@bors
Copy link
Contributor

bors commented Apr 14, 2022

☀️ Test successful - checks-action_dev_test, checks-action_remark_test, checks-action_test
Approved by: xFrednet
Pushing 38ba055 to master...

@bors bors merged commit 38ba055 into rust-lang:master Apr 14, 2022
@Alexendoo Alexendoo deleted the local-used-across-loop branch April 14, 2022 09:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
S-waiting-on-review Status: Awaiting review from the assignee but also interested parties
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants